package com.shanpin.shebao.basedb.model;

import com.shanpin.core.basedb.annotation.Id;

//@Resource
public class CityConfig {

	@Id
	private int id; // 城市ID或代码
	private int pid; // 上一级城市ID或代码、默认值0
	private String name; // 城市名称
	private short isCity; // 是否城市 0不是、1是
	private short disable; // 是否有效  0有效、1无效

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public short getIsCity() {
		return isCity;
	}

	public void setIsCity(short isCity) {
		this.isCity = isCity;
	}

	public short getDisable() {
		return disable;
	}

	public void setDisable(short disable) {
		this.disable = disable;
	}

}
